<%--
  Created by IntelliJ IDEA.
  User: 张庆昇
  Date: 2019/12/31
  Time: 16:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="${path}/plugins/bootstrap-3.3.7-dist/css/bootstrap.css">
    <title>登录</title>


    <style>
        #zly{
            width: 50px;
            height: 50px;

            /* 设置边框为圆形 */
            border-radius: 50%;
        }
        #lunbo{
            margin-top: -20px;
        }
        #font-color{
            color: white;
            background-color:rgb(34, 33, 33);

        }
        #log-ss{
            top:0px;
            width: 0%;
        }
        #BS a:hover{
            color: red;
        }
        .navbar {
            position: relative;
            min-height: 50px;
            margin-bottom:0px;
            border: 1px solid transparent;
        }
    </style>

</head>
<body>
<!-- 导航begin -->
<%@ include file="../common/nav.jsp" %>
<!-- 导航end -->


<div class="container-fluid" style="padding-top: 50px;">
    <div class="col-md-10">
        <div col-md-10>
            <form action="${path}/user/logincl" class="form-horizontal" role="form" method="post">
                <fieldset>
                    <legend><h3>用户登陆入口</h3></legend>
                    <div class="form-group has-feedback">
                        <label for="firstname" class="col-sm-2 control-label">用户名</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" name="username" id="firstname" placeholder="请输入用户名">
                            <span class="glyphicon glyphicon-user form-control-feedback"></span>
                            <c:if test="${param.error == 0}">
                                <div class="col-md-2">
                                    <span class="label label-danger">用户不存在！</span>
                                </div>
                            </c:if>
                        </div>
                    </div>
                <div class="form-group has-feedback" >
                    <label for="lastname" class="col-sm-2 control-label">密码</label>
                    <div class="col-sm-5">
                        <input type="password" name="password" class="form-control" id="password" placeholder="请输入密码">
                        <span class="glyphicon glyphicon-lock form-control-feedback"></span>
                    </div>
                    <c:if test="${param.error == 1}">
                        <div class="col-md-2">
                            <span class="label label-danger">密码错误！</span>
                        </div>
                    </c:if>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-5">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox">请记住我
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-5">
                        <button type="submit" class="btn btn-default">确定</button>
                        <button type="reset" class="btn btn-default">重置</button>
                        <a href="${path}/user/registerView"style="margin-left: 50px;"><span class="glyphicon glyphicon-lock"></span>没有账号？请注册！</a>
                    </div>
                </div>
        </div>
        </form>
    </div>
</div>
</div>


<%@ include file="../common/footer.jsp" %>
<script>
    $('#myCarousel').carousel({
        interval: 2000
    })
</script>

<script src="${path}/plugins/jquery/jquery.min.js"></script>
<script src="${path}/plugins/bootstrap-3.3.7-dist/js/bootstrap.js"></script>
</body>
</html>